package com.itheima.bridge;

/**
 * @author zzw
 * @date 2025/10/19
 * @description 桥接模式测试类
 */
public class Client {
    public static void main(String[] args) {
        OperatingSystemVersion os1 = new Windows(new AVIFile());
        os1.play("战狼3");

        OperatingSystemVersion os2 = new Mac(new RMVBFile());
        os2.play("上好堡垒");

        OperatingSystemVersion os3 = new Windows(new AVIFile());
        os3.play("长安的荔枝");

        OperatingSystemVersion os4 = new Mac(new RMVBFile());
        os4.play("海上钢琴师");
    }
}
